package com.bailan.service.impl;

import com.bailan.pojo.Yiqinshuju;
import com.bailan.mapper.YiqinshujuMapper;
import com.bailan.service.IYiqinshujuService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author BaiLan
 * @since 2022:05:24
 */
@Service
public class YiqinshujuServiceImpl extends ServiceImpl<YiqinshujuMapper, Yiqinshuju> implements IYiqinshujuService {

    @Override
    public boolean updateOrSave(Yiqinshuju yiqinshuju) {
        return baseMapper.updateOrSaveData(yiqinshuju) > 0;

    }
}
